package com.ydy.remote.wechat.vo.message;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;

import com.ydy.remote.wechat.ienum.MsgType;

@XmlRootElement(name = "xml")
public class EventMessage extends BaseMessage {

	{
		setMsgType(MsgType.event.name());
	}
	@XmlElement(name = "Event")
	private String event;

	@XmlTransient
	public String getEvent() {
		return event;
	}

	public void setEvent(String event) {
		this.event = event;
	}

}
